//
//  QHHCPFileManager.h
//  QHealthForDoctor
//
//  Created by 李志良的mac mini on 2020/4/13.
//  Copyright © 2020 李 志良. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface QHHCPFileManager : NSObject 
//沙盒文件存储到本地
//+(BOOL)copyBundleWWWToDocumentFilePath:(NSString*)wwwFolderName VersionName:(NSString*)versionName;

+(BOOL)copyCurrentWWWToNewVersionFilePath:(NSString*)wwwFolderName VersionName:(NSString*)versionName;
// 解压  copy 文件 存储到 document 文件夹下
+(BOOL)copyAndUnzipBundleWWWToDocumentFilePath:(NSString *)wwwFolderName VersionName:(NSString*)versionName;
//下载到本地的更新文件临时存储路径
+(NSString*)localDowloadFilePathWithFolderName:(NSString*)folderName;
//下载到本地的更新文件临时存储路径，已连接获取
+(NSString*)localDowloadFilePathWithRemoteFileLink:(NSString*)remoteFileLink;

//本地读取www文件中的page页面
+(NSString*)localStartFileForResource:(NSString*)resourcepath wwwFolderName:(NSString*)wwwFolderName;

//本地WWW文件路径
+(NSString*)localWWWFolderPathWithWWWFolderName:(NSString*)wwwFolderName VersionName:(NSString*)versionName;

//获取本地下载文件路径
+(NSString*)getTempDownloadFilePathWithWWWContentFolderName:(NSString*)wwwContentFolderName;
//移除本地下载文件路径下的文件
+(void)clearTempDownloadFileWithPath:(NSString*)tempFilePath;

-(BOOL)unzipFileatPath:(NSString *)fromPath andToPath:(NSString *)toPath;

+(BOOL)copySoundFileToDocument;

@end

NS_ASSUME_NONNULL_END
